import prompt from '@ohos.prompt';
import ajax from '../../http/http';

export default {
    data: {},
    onInit() {
        this.test();
    },
    test() {
        let param = {
            id: 1
        };
        ajax.post('/experiment/box/list', param, (result) => {
            prompt.showToast({
                message: result.msg
            });
        });
    }
}
